import 'package:flutter/material.dart';
import 'package:flutter_order_food/components/search_box.dart';
import 'package:flutter_order_food/screens/home/components/category.dart';
import 'package:flutter_order_food/screens/home/components/discount_card.dart';
import 'package:flutter_order_food/screens/home/components/shop_card.dart';

class Body extends StatelessWidget {
  const Body({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return SingleChildScrollView(
      child: Column(
        children: [
          SearchBox(onChanged: (value) {}),
          CategoryList(),
          ShopCard(),
          DiscountCard(),
        ],
      ),
    );
  }
}
